home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / fsmakedev.man < prev    next >
Encoding:
Text File  |  1992-08-27  |  2.7 KB  |  135 lines

  1.  
  2.  
  3.  
  4. FSMAKEDEV                 User Commands                 FSMAKEDEV
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      fsmakedev - Create a device file
  12.  
  13. SSYYNNOOPPSSIISS
  14.      ffssmmaakkeeddeevv [--ss _s_e_r_v_e_r_I_D] [--dd _d_e_v_T_y_p_e]  [--uu  _u_n_i_t]  [--pp  _m_o_d_e]
  15.      name
  16.  
  17. OOPPTTIIOONNSS
  18.      --ss _s_e_r_v_e_r_I_D   The serverID is needed for devices attached to
  19.                    a  particular host.  If not specified then the
  20.                    device created is a _c_o_m_m_o_n device found on all
  21.                    hosts  and the local instance of the device is
  22.                    used.  The serverID is a numeric hostID, not a
  23.                    name.
  24.  
  25.      --dd _d_e_v_T_y_p_e    This specifies the type of the  device.   This
  26.                    is     a     numeric     value     found    in
  27.                    /sprite/src/kernel/dev/*.md/devTypesInt.h
  28.  
  29.      --uu _u_n_i_t       The unit number of the device.
  30.  
  31.      --pp _m_o_d_e       This specifies the permission bits of the dev-
  32.                    ice file.
  33.  
  34.      _n_a_m_e          This is the name of the device.
  35.  
  36. _________________________________________________________________
  37.  
  38.  
  39. DDEESSCCRRIIPPTTIIOONN
  40.      Fsmakedev creates a special device file  that  is  a  place-
  41.      holder  for  a peripheral device.  The device file indicates
  42.      the device type and a unit number.  It  also  indicates  the
  43.      location  of  the device.  In Sprite devices are either _c_o_m_-
  44.      _m_o_n, which means that all  hosts  have  them,  or  they  are
  45.      specific  to  a  particular  host.   When a common device is
  46.      opened then the device attached to the local host  is  used.
  47.      Otherwise  the  serverID  in the device file indicates where
  48.      the device is.  The default is for a common device  file  to
  49.      be  created.  Use the --ss option to specific the serverID for
  50.      devices attached to a particular host.  By convention common
  51.      devices  are  found in the /dev directory, and specific dev-
  52.      ices are in the /hosts/_h_o_s_t_n_a_m_e/dev directory.
  53.  
  54. BBUUGGSS
  55.      The  device  type  is  a   magic   number   found   in   the
  56.      /sprite/src/kernel/dev/*.md/devTypesInt.h  file.   The  ser-
  57.      verID is a numeric hostID, not a hostname.
  58.  
  59. SSEEEE AALLSSOO
  60.      fsmakenetdev
  61.  
  62.  
  63.  
  64.  
  65. Sprite v.1.0        Printed:  August 26, 1992                   1
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72. FSMAKEDEV                 User Commands                 FSMAKEDEV
  73.  
  74.  
  75.  
  76. KKEEYYWWOORRDDSS
  77.      device
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. Sprite v.1.0        Printed:  August 26, 1992                   2
  132.  
  133.  
  134.  
  135.